package com.company.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.entity.SysFileEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 文件管理
 *
 * @author YangYulin
 * @email YangYulinit@163.com
 * @date 2020-07-21 14:42:10
 */
public interface SysFileService extends IService<SysFileEntity> {

    SysFileEntity uploadFile(MultipartFile uploadFile, HttpServletRequest request) throws IOException;

    void resSterm(String id, HttpServletResponse response) throws IOException;
}

